//
//  DiscoverCell.h
//  Read History
//
//  Created by Jam on 16/9/1.
//  Copyright © 2016年 Jam. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DiscoverDelegate <NSObject>

-(void)sendValue:(BOOL)isSelected;

@end

@interface DiscoverCell : UITableViewCell

@property (strong,nonatomic)NSDictionary *dataInfo;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *readCountLabel;
@property (weak, nonatomic) IBOutlet UIView *rightView;
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UIButton *readBtn;
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property(nonatomic,assign)id<DiscoverDelegate> delegate;
-(void)setupData:(NSDictionary *)info;


- (IBAction)readBtnClick:(UIButton *)sender;

@end
